package com.zrkizzy.seckill.constant;

/**
 * 通用全局静态常量
 *
 * @author zhangrongkang
 * @since 2023/4/12
 */
public class CommonConst {

    /**
     * 用户
     */
    public static final String USER = "user";

    /**
     * 用户签名
     */
    public static final String USER_TICKET = "userTicket";

    /**
     * 商品列表
     */
    public static final String GOODS_LIST = "goodsList";

    /**
     * UTF-8编码
     */
    public static final String UTF_8 = "UTF-8";

    /**
     * Json格式
     */
    public static final String APPLICATION_JSON = "application/json";

    /**
     * 图片格式
     */
    public static final String IMAGE_JPG = "image/jpg";

    /**
     * Http / 1.1之前版本缓存控制
     */
    public static final String PRAGMA = "Pragma";

    /**
     * 缓存控制
     */
    public static final String CACHE_CONTROL = "Cache-Control";

    /**
     * 禁止缓存
     */
    public static final String NO_CACHE = "no-cache";

    /**
     * 失效时间
     */
    public static final String EXPIRES = "Expires";

}
